Abstracting Synchronization in Concurrent Constraint Programming
نویسندگان
چکیده
ing Synchronization in Concurrent Constraint Programming ? Enea Za anella1 Roberto Giacobazzi2 Giorgio Levi1 1 Dipartimento di Informatica, Universit a di Pisa Corso Italia 40, 56125 Pisa (za anel,levi)@di.unipi.it 2 LIX, Laboratoire d'Informatique, Ecole Polytechnique 91128 Palaiseau cedex [email protected] Abstract. Because of synchronization based on blocking ask, some of the most important techniques for data ow analysis of (sequential) constraint logic programs (clp) are no longer applicable to cc languages. In particular, the generalized approach to the semantics, intended to factorize the (standard) semantics so as to make explicit the domain-dependent features (i.e. operators and semantic objects which may be in uenced by abstraction) becomes useless for relevant applications. A possible solution to this problem is based on a more abstract (non-standard) semantics: the success semantics, which models non suspended computations only. With a program transformation (NoSynch) that simply ignores synchronization, we obtain a clp-like program which allows us to apply standard techniques for data ow analysis. For suspension-free programs the success semantics is equivalent to the standard semantics thus justifying the use of suspension analysis to generate sound approximations. A second transformation (Angel) is introduced, applying a di erent abstraction of synchronization in possibly suspending programs and resulting in a framework which is adequate to suspension analysis. Applicability and accuracy of these solutions are investigated.
منابع مشابه
Synchronization of Multimedia Objects Using Concurrent Constraint Programming Techniques
The problem of synchronization of multimedia objects is addressed within the framework of concurrent constraint programming by presenting an analysis on how the timed version of concurrent constraint programming can be used to model the temporal behaviour and relationships of multimedia objects. The implementation of a non-trivial multimedia application is presented, using the techniques discus...
متن کاملAbstracting Process-to-Function Relations in Concurrency Object-Oriented Applications
ing Process-to-Function Relations in Concurrent Object-Oriented Applications ? Cristina Videira Lopes ?? , Karl J. Lieberherr College of Computer Science Northeastern University Cullinane Hall Boston, MA 02115, USA email: fcrista, [email protected] Abstract. This paper presents a programming model for concurrent object-oriented applications by which concurrency issues are abstracted and separ...
متن کاملAbstracting Process-to-function Relations in Concurrent Object-oriented Applications ?
ing Process-to-Function Relations in Concurrent Object-Oriented Applications ? Cristina Videira Lopes ?? , Karl J. Lieberherr College of Computer Science Northeastern University Cullinane Hall Boston, MA 02115, USA email: fcrista, [email protected] Abstract. This paper presents a programming model for concurrent object-oriented applications by which concurrency issues are abstracted and separ...
متن کاملAbstracting Process - to - Function
ing Process-to-Function Relations in Concurrent Object-Oriented Applications ? Cristina Videira Lopes ?? , Karl J. Lieberherr College of Computer Science Northeastern University Cullinane Hall Boston, MA 02115, USA email: fcrista, [email protected] Abstract. This paper presents a programming model for concurrent object-oriented applications by which concurrency issues are abstracted and separ...
متن کاملConcurrent Programming Made Easy
The task of programming concurrent systems is substantially more difficult than the task of programming sequential systems with respect to both correctness and efficiency. In this paper we describe a constraint-based methodology for writing concurrent applications. A system is modeled as: (a) a set of processes containing a sequence of “markers” denoting the processes points of interest; and (b...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1994